#!/bin/sh
# has been configured the .ssh/authorized_keys
TIME=`date +%Y-%m-%d_%H-%M-%S`
OPENFIRE_HOME=/root/bin/openfire
ssh root@ali.tyoushi.com -t "rm -f ~/data/bak/vplugin-*.jar"
ssh root@ali.tyoushi.com -t "cp -f $OPENFIRE_HOME/plugins/vplugin.jar ~/data/bak/vplugin-$TIME.jar"

######

